package org.webdb.core.config;

import java.io.IOException;
import java.io.InputStream;

import org.webdb.core.database.DataBase;

public interface ConfigProcessor {

    public interface ResourceResolver {

        InputStream getStream(String resource) throws IOException;

    }

    DataBase proccess(DatabaseConfig config, ResourceResolver resolver)
            throws Exception;

}
